package com.zhanghe.wzq.command.request;

import com.zhanghe.protocol.v1.Packet;
import com.zhanghe.wzq.command.CommandType;
import lombok.Data;

/**
 * LoginRequest
 *
 * @author Clevo
 * @date 2018/12/15
 */
@Data
public class LoginRequest extends Packet {

    private String name;

    @Override
    public Byte getCommand() {
        return CommandType.LOGIN_REQUEST;
    }

    @Override
    public boolean needSerilize() {
        return true;
    }
}
